package com.scau402.system1.repository;

import com.scau402.system1.domain.dto.WmsAuditOrderDTO;
import com.scau402.system1.domain.po.*;
import com.scau402.system1.domain.query.AuditOrderQuery;
import com.scau402.system1.domain.query.WmsAdjustBoundOrderQuery;
import com.scau402.system1.domain.vo.WmsInboundOrderAndDetailVO;
import com.scau402.system1.domain.vo.WmsOutboundOrderAndDetailVO;

import java.util.List;

/**
 * 审核模块Repository
 */
public interface IWmsAuditOrderRepository {
    List<WmsAuditOrderPO> findUnAuditList(List<Integer> ids);

    void update(List<WmsAuditOrderPO> auditList);

    void save(WmsAuditOrderPO po);

    List<WmsAuditOrderDTO<WmsAdjustBoundOrderDetailPO>> findAdjustList(WmsAdjustBoundOrderQuery adjustBoundOrderQuery);

    List<WmsAuditOrderDTO<WmsAdjustPriceOrderDetailPO>> findPriceAdjustList(WmsAdjustBoundOrderQuery wmsAdjustBoundOrderQuery);

    List<WmsAuditOrderDTO<WmsOutboundOrderAndDetailVO>> findOutBoundList(Long tenantId);

    List<WmsAuditOrderDTO<WmsInboundOrderAndDetailVO>> findInBoundList(Long tenantId);

}
